/*
 * @Author: TT-hzy 
 * @Date: 2024-05-05 16:25:38
 * @LastEditors: TT-hzy 
 * @LastEditTime: 2024-05-14 10:09:45
 * @Description: 
 */

import 'package:flutter/material.dart';
import 'package:hzy_normal_tool/hzy_normal_tool.dart';

import '../../utils/screen_utils.dart';

class TeXStyleConfig {
  static TextStyle font10({
    FontWeight? fontWeight,
    Color? color,
    double? height,
    String? fontFamily,
    TextDecoration? decoration,
  }) {
    return HzyTextStyle.configNormalTextStyle(
      fontSize: Dimens.font_10,
      fontWeight: fontWeight,
      color: color,
      height: height,
      fontFamily: fontFamily,
      decoration: decoration,
    );
  }

  static TextStyle font12({
    FontWeight? fontWeight,
    Color? color,
    double? height,
    String? fontFamily,
    TextDecoration? decoration,
  }) {
    return HzyTextStyle.configNormalTextStyle(
      fontSize: Dimens.font_12,
      fontWeight: fontWeight,
      color: color,
      height: height,
      fontFamily: fontFamily,
      decoration: decoration,
    );
  }

  static TextStyle font14({
    FontWeight? fontWeight,
    Color? color,
    double? height,
    String? fontFamily,
    TextDecoration? decoration,
  }) {
    return HzyTextStyle.configNormalTextStyle(
      fontSize: Dimens.font_14,
      fontWeight: fontWeight,
      color: color,
      height: height,
      fontFamily: fontFamily,
      decoration: decoration,
    );
  }

  static TextStyle font16({
    FontWeight? fontWeight,
    Color? color,
    double? height,
    String? fontFamily,
    TextDecoration? decoration,
  }) {
    return HzyTextStyle.configNormalTextStyle(
      fontSize: Dimens.font_16,
      fontWeight: fontWeight,
      color: color,
      height: height,
      fontFamily: fontFamily,
      decoration: decoration,
    );
  }

  static TextStyle font18({
    FontWeight? fontWeight,
    Color? color,
    double? height,
    String? fontFamily,
    TextDecoration? decoration,
  }) {
    return HzyTextStyle.configNormalTextStyle(
      fontSize: Dimens.font_18,
      fontWeight: fontWeight,
      color: color,
      height: height,
      fontFamily: fontFamily,
      decoration: decoration,
    );
  }

  static TextStyle font20({
    FontWeight? fontWeight,
    Color? color,
    double? height,
    String? fontFamily,
    TextDecoration? decoration,
  }) {
    return HzyTextStyle.configNormalTextStyle(
      fontSize: Dimens.font_20,
      fontWeight: fontWeight,
      color: color,
      height: height,
      fontFamily: fontFamily,
      decoration: decoration,
    );
  }

  static TextStyle font24({
    FontWeight? fontWeight,
    Color? color,
    double? height,
    String? fontFamily,
    TextDecoration? decoration,
  }) {
    return HzyTextStyle.configNormalTextStyle(
      fontSize: Dimens.font_24,
      fontWeight: fontWeight,
      color: color,
      height: height,
      fontFamily: fontFamily,
      decoration: decoration,
    );
  }

  static TextStyle font28({
    FontWeight? fontWeight,
    Color? color,
    double? height,
    String? fontFamily,
    TextDecoration? decoration,
  }) {
    return HzyTextStyle.configNormalTextStyle(
      fontSize: Dimens.font_28,
      fontWeight: fontWeight,
      color: color,
      height: height,
      fontFamily: fontFamily,
      decoration: decoration,
    );
  }

  static TextStyle font30({
    FontWeight? fontWeight,
    Color? color,
    double? height,
    String? fontFamily,
    TextDecoration? decoration,
  }) {
    return HzyTextStyle.configNormalTextStyle(
      fontSize: Dimens.font_30,
      fontWeight: fontWeight,
      color: color,
      height: height,
      fontFamily: fontFamily,
      decoration: decoration,
    );
  }

  static TextStyle font32({
    FontWeight? fontWeight,
    Color? color,
    double? height,
    String? fontFamily,
    TextDecoration? decoration,
  }) {
    return HzyTextStyle.configNormalTextStyle(
      fontSize: Dimens.font_32,
      fontWeight: fontWeight,
      color: color,
      height: height,
      fontFamily: fontFamily,
      decoration: decoration,
    );
  }
}
